package com.ftg.learn.chapter17.table;

/**
 * 这是一个学生模板 ，里面包含姓名，性别，年龄
 * @author KangJx
 * @date 2021/8/11
 */
public class Student {

    private String stuname;

    private int stuage;

    private char stusex;

    public Student(){

    }

    public Student(String stuname, int stuage, char stusex) {
        this.stuname = stuname;
        this.stuage = stuage;
        this.stusex = stusex;
    }

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public int getStuage() {
        return stuage;
    }

    public void setStuage(int stuage) {
        this.stuage = stuage;
    }

    public char getStusex() {
        return stusex;
    }

    public void setStusex(char stusex) {
        this.stusex = stusex;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuname='" + stuname + '\'' +
                ", stuage=" + stuage +
                ", stusex=" + stusex +
        '}';
    }
}
